projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a259d33
)
(FONT_WIDTH): Use average character width, not maximum.
author
Geoff Voelker
<voelker@cs.washington.edu>
Thu, 8 Feb 1996 19:04:58 +0000
(19:04 +0000)
committer
Geoff Voelker
<voelker@cs.washington.edu>
Thu, 8 Feb 1996 19:04:58 +0000
(19:04 +0000)
src/w32term.h
patch
|
blob
|
history
diff --git
a/src/w32term.h
b/src/w32term.h
index a530189654161e804950b81a8b434076b57d091d..3d027de1e8d19af214b3b6f9e65399c1f9da259f 100644
(file)
--- a/
src/w32term.h
+++ b/
src/w32term.h
@@
-28,7
+28,7
@@
Boston, MA 02111-1307, USA. */
#define BLACK_PIX_DEFAULT(f) RGB(0,0,0)
#define WHITE_PIX_DEFAULT(f) RGB(255,255,255)
-#define FONT_WIDTH(f) ((f)->tm.tm
Max
CharWidth)
+#define FONT_WIDTH(f) ((f)->tm.tm
Ave
CharWidth)
#define FONT_HEIGHT(f) ((f)->tm.tmHeight)
#define FONT_BASE(f) ((f)->tm.tmAscent)